home *** CD-ROM | disk | FTP | other *** search
- Path: darkstar.UCSC.EDU!usenet
- From: "Chuck L. Peterson" <clp@alumni.cse.ucsc.edu>
- Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.lang.c++,comp.graphics.api.opengl
- Subject: Re: MfcOgl to get multiple OpenGL contexts
- Date: Fri, 01 Mar 1996 10:35:22 -0800
- Organization: Multi-Trek Control Center
- Message-ID: <3137436A.79F0@alumni.cse.ucsc.edu>
- References: <3135497E.2AE@alumni.cse.ucsc.edu> <4h75j7$2f8@sundog.tiac.net>
- NNTP-Posting-Host: omega.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
-
- I want a single window with 2 different OpenGl views, with
- several Win95 PushButtons, a single line Text Entry field,
- and a cheesy Icon resource below them. Using multiple viewports
- on the same OpenGL context doesn't fit my project because each
- view is a completely different scene.
-
- The Dialog Resource Editor in VC++4.0 isn't too helpful unless
- I can use it to paint in OpenGL regions. Hmmm. Maybe you can
- do that by specifying a "custom" object class tool module foundation
- thing, which would be MfcOglvw. I'll give that a try. Thanks.
-
- clp@alumni.cse.ucsc.edu
-
- Ron Fosner wrote:
- > > But now I want to create 2 or 3 OpenGL context regions
- > > all within the same Window. How would I go about doing this?
- > >
-
- > What exactly are you trying to do? If you want to render two scenes
- > in the same window you can just set up two viewports. If you're
- > trying to do something where you need two different pixel formats,
- > then it's impossible- you can't have, for example, the left half
- > double buffered, and the right half not......
- >
- > Ron Fosner
- > ron@tiac.net
-